#ifndef LIDAR_H
#define LIDAR_H

#include <string>

class Lidar {
private:
    std::string model;         // 型号
    int channels;              // 通道数
    double range;              // 测试范围
    double power;              // 功耗

public:
    Lidar();
    Lidar(const std::string& model, int channels, double range, double power);

    // Getters
    std::string getModel() const;
    int getChannels() const;
    double getRange() const;
    double getPower() const;

    // Setters
    void setModel(const std::string& model);
    void setChannels(int channels);
    void setRange(double range);
    void setPower(double power);

    void display() const;
};

#endif // LIDAR_H